<template>


  <div class="da">
    <router-view />
    <router-view name="footer"></router-view>
    <!-- <div class="box">
      <div class="header">头部</div>
      <div class="meddle">内容</div>
    </div> -->
    <!-- <div class="footer">
      <van-tabbar v-model="active" route>
        <van-tabbar-item to="/">首页</van-tabbar-item>
        <van-tabbar-item to="/shop">商场</van-tabbar-item>
        <van-tabbar-item to="/message">消息</van-tabbar-item>
        <van-tabbar-item to="/user">我</van-tabbar-item>
      </van-tabbar>
    </div> -->
  </div>
</template>

<style lang="scss">
* {
  padding: 0;
  margin: 0;
  list-style: none;
}

html,
body,
#app,
.da {
  width: 100%;
  height: 100%;
}

.da {
  display: flex;
  flex-direction: column;
}

.box {
  display: flex;
  flex-direction: column;
  overflow: auto;
  flex: 1;
}

.header {
  height: 3.125rem;
}

.meddle {
  display: flex;
}

.footer {
  height: 3.125rem;
}
</style>
